package com.aps.entity.dto;

import com.aps.entity.domain.Store;

import lombok.Data;

/**
 * @author liaoguangan
 * @description <同步门店信息>
 * @date 2018/4/2 18:47
 */
@Data
public class PosSyncStore {

    private String storeCode;
    private String storeName;

    public Store build() {
        Store store = new Store();
        store.setCode(this.getStoreCode());
        store.setName(this.getStoreName());

        return store;
    }

}
